Update IM spot location before running _validate_onscreen()
authorKristian Rietveld <kris@gtk.org>
Fri, 4 Sep 2009 11:30:48 +0000 (13:30 +0200)
committerKristian Rietveld <kris@gtk.org>
Fri, 4 Sep 2009 12:06:58 +0000 (14:06 +0200)
commit3a917a2a677b02b587a44b7157231418508faa5e
treedb7b950365c5979ac60f800be06a52a61a95420c
parent4f219692ed25e2405be4302738c8c867af9094d8
Update IM spot location before running _validate_onscreen()

Updating the IM spot location in gtk_text_view_value_changed() might
invalidate the layout, so we need to make sure that we update it before
validating the layout again.  Otherwise, the layout will be invalidated
right after validating it (possibly resulting in a failed
onscreen_validated assertion).  Patch merged from maemo-gtk.
gtk/gtktextview.c